package org.jeecg.common.util.ldarExcel;

import org.apache.poi.ss.usermodel.Workbook;

import java.io.OutputStream;
import java.util.Collection;

public interface ExcelExport<T> {

	/**
	 * 根据数据集，生成excel 输出流
	 * @param dataSet
	 */
	public Workbook exportExcel(Collection<T> dataSet, OutputStream out);
}
